<template>
  <list></list>
</template>

<script>
import list from '@/components/List.vue'
export default {
  components:{
    list
  },
    methods:{
        getContent(){
        let newID = this.$route.query.type
          console.log(newID);
        }
    },
    created(){
      console.log('请求默认数据(热点)1处');
    },
    watch:{
        '$route'(to){
          if(this.$route.query.type === undefined){
            console.log('请求默认数据(热点)2处');
          }else{
            var keyWord = this.$route.query.type;
            console.log(keyWord);

          }
            
        }
    }
}
</script>

<style>

</style>